package com.zjitc.common;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/29 14:54
 * @description:   设置json 返回类型是 Long
 */

//@Configuration
//@ComponentScan( basePackageClasses = MyWebMvcConfiguration.class)
//public class MyWebMvcConfiguration extends WebMvcConfigurationSupport {
//  @Override
//  protected void extendMessageConverters(List<HttpMessageConverter<?>> converters) {
//    for( HttpMessageConverter converter : converters){
//      if(converter instanceof GsonHttpMessageConverter){
//        GsonHttpMessageConverter gsonHttpMessageConverter = (GsonHttpMessageConverter) converter;
//        gsonHttpMessageConverter.setGson(GsonUtils.create());
//      }
//    }
//  }
//}
